#!/bin/bash
for i in zookeeper_node2 zookeeper_node3 zookeeper_node4
	do
echo "---------- $i 进程 ----------"
ssh $i "/usr/local/java/jdk1.8.0_351/bin/jps $@"

  done
